<template>
	<view class="panel">
		<view class="panel-item">
			<text>促销专区</text>
			<text>拼着买，更便宜</text>
		</view>
		<view class="panel-item">
			<text>促销专区</text>
			<text>拼着买，更便宜</text>
		</view>
		<view class="panel-item">
			<text>促销专区</text>
			<text>拼着买，更便宜</text>
		</view>
		<view class="panel-item">
			<text>促销专区</text>
			<text>拼着买，更便宜</text>
		</view>
	</view>
</template>
<script setup></script>
<style lang="scss" scoped>
.panel {
	width: 710rpx;
	box-sizing: border-box;

	display: grid;
	grid-template-columns: 1fr 1fr;

	justify-content: space-between;
	align-items: flex-start;

	gap: 12rpx;

	.panel-item {
		width: 100%;
		height: 200rpx;
		border-radius: 12rpx;
		background-color: #fff;
		box-sizing: border-box;
		padding: 12rpx;

		display: flex;
		flex-flow: row nowrap;
		justify-content: flex-start;
		align-items: flex-start;

		gap: 12rpx;

		text:first-child {
			font-size: 28rpx;
		}

		text:last-child {
			font-size: 24rpx;
		}
	}
}
</style>
